home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000055_onions@kr01.piahost.net_Wed May 7 09:54:45 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  51 lines

  1. Article: 14273 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: onions@kr01.piahost.net (onions)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: "ftp check file": some machines are ok, some are not
  6. Date: 6 May 2003 12:27:49 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 33
  9. Message-ID: <8a794c4f.0305061127.44650bc6@posting.google.com>
  10. NNTP-Posting-Host: 203.226.144.34
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1052249269 24633 127.0.0.1 (6 May 2003 19:27:49 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 6 May 2003 19:27:49 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14273
  17.  
  18. Hello kermit users,
  19.  
  20.   I am trying to download files only when a certain file is not on the 
  21.   directory.  As you may guess, the file is an indicator and means 
  22.   " files on the directory are being modified, so don't download ".
  23.   
  24.   I have used "ftp check INDICATOR" as below: 
  25.          ...      
  26.          ftp check INDICATOR
  27.          if success exit 1
  28.          if fail {
  29.             ftp mget *
  30.             ftp bye
  31.          }
  32.          exit
  33.  
  34.   The problem is the above code works on machines connected by ppp, 
  35.   and dosn't work on machines connected by internet. 
  36.  
  37.   It shows the message as below, and hold for the user's input. 
  38.   "Control-C" makes move forward, but it should be done without 
  39.   user's input. 
  40.  
  41.         Remote system type is UNIX.
  42.         Default transfer mode is BINARY
  43.         CWD command successful.
  44.         INDICATOR: No such file or directory.  -----> waiting 
  45.  
  46.   Any help would be appreciated. 
  47.  
  48.   My working env is Linux(Redhat 8.0) and C-Kermit 8.0.209
  49.  
  50.   onions (onions@kr01.piahost.net)
  51.